package sms

import (
	"com.cyt.common/library/sms/gateway"
	"com.cyt.common/library/sms/strategy"
)

const (
	TEXT_MESSAGE  = "msg"
	VOICE_MESSAGE = "voice"

	STATUS_SUCCESS = "success"
	STATUS_FAILURE = "failure"
)

var GatewayMap = map[string]gateway.Driver{
	"chuanglan":  &gateway.ChuangLan{},
	"aliyun":  &gateway.Aliyun{},
}

var StrategyMap = map[string]strategy.Driver{
	"order":  &strategy.Order{},
	"random":  &strategy.Random{},
}